/**
 * 
 */
package wong.board.client.ui;

import wong.board.client.ui.TitlePresenter.View;
import wong.board.client.widgets.Container;

import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.Label;

/**
 * @author wong
 * 
 */
public class TitleView extends Container implements View {
	private Label titleText;

	public TitleView() {
		this.setStyleName(boardCss.title());

		titleText = new Label();
		titleText.setStyleName(boardCss.titleText());
		this.getContainer().add(titleText);
	}

	@Override
	public HasText getTitleText() {
		return titleText;
	}

}
